import javax.swing.*;

public class ActionFrame extends JFrame {

public ActionFrame() {
super("Test");

JPanel menu = new Menu();
add(menu);

setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
pack();
setVisible(true);
}
}